gui/macOS: Add tooltip explaining the "request sync" action in the File Provider...
authorClaudio Cambra <claudio.cambra@nextcloud.com>
Wed, 26 Feb 2025 02:33:06 +0000 (10:33 +0800)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Mon, 3 Mar 2025 16:11:48 +0000 (16:11 +0000)
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
src/gui/macOS/ui/FileProviderSyncStatus.qml

index a02fe440189eb84d38beeae9b250c7e22e4ba2eb..60b1385128e352c5281c4c97fdf64c26a7d62a11 100644 (file)
@@ -67,8 +67,15 @@ GridLayout {
     }
 
     Button {
+        id: requestSyncButton
         text: qsTr("Request sync")
-        onClicked: root.controller.signalFileProviderDomain(root.accountUserIdAtHost)
         visible: !root.syncStatus.syncing
+        hoverEnabled: true
+        onClicked: root.controller.signalFileProviderDomain(root.accountUserIdAtHost)
+
+        ToolTip {
+            visible: requestSyncButton.hovered
+            text: qsTr("Request a sync of changes for the VFS environment. macOS may ignore or delay this request.")
+        }
     }
 }
\ No newline at end of file